package _02_动态数组;

public class Main {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();
        System.out.println(list);
        for(int i=0;i<50;++i){
            list.add(i);
        }
        for(int i=0;i<50;++i){
            list.remove(0);
        }
        System.out.println(list);
    }
}
